import requests from './request'
import mockserver from './mockAjax'
//
export const reqCategoryList = () => requests({ url: '/product/getBaseCategoryList', method: 'get' })
// mock的数据
// 需要注意的是箭头函数箭头的右边的大括号要加return ,如果没有大括号就不用加return;undefind有时候可能是没有return回去

export const reqGetBannerList = () => mockserver.get('/banner')

export const reqFloorList = () => mockserver.get('floor')
//
export const reqGetSearchInfo = (data) => requests({ url: '/list', method: 'post', data: data })
